package io.github.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author: weil
 * @date: 2019/9/27 11:32
 * @version: 1.0
 * @description:
 */
@Data
@TableName("sys_equipment")
public class SysEquipmentEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 地区id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 设备编号
     */
    @TableField
    private String equipnum;

    /**
     * 所属地区
     */
    @TableField
    private String areaid;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getEquipnum() {
        return equipnum;
    }

    public void setEquipnum(String equipnum) {
        this.equipnum = equipnum;
    }

    public String getAreaid() {
        return areaid;
    }

    public void setAreaid(String areaid) {
        this.areaid = areaid;
    }

    public SysEquipmentEntity() {
    }

    public SysEquipmentEntity(Integer id, String equipnum, String areaid) {
        this.id = id;
        this.equipnum = equipnum;
        this.areaid = areaid;
    }
}
